P+ - Zero Suit Samus - Subroutine - 0x11da0
- if (BoolIsTrue RandomAccessBool(EnableAutoJab))
- IfStatementAnd ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(0)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(-0.5)))
- IfStatementAnd ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d)))
- IfStatementAnd (not(TouchingAFloorWallOrCeiling value(1)))
- IfStatementAnd (not(TouchingAFloorWallOrCeiling value(16)))
- IfStatementAnd (not(TouchingAFloorWallOrCeiling value(32)))
- if (TouchingAFloorWallOrCeiling value(2))
- IfStatementOr (TouchingAFloorWallOrCeiling value(4))
- if (ButtonPress value(0))
- ReverseDirection
- Posture(4)
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (ButtonTap) }
- IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam1) }
- if (BoolIsTrue RandomAccessBool (0x18))
- if (ButtonPress value(1))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
- else
- if (ButtonPress value(0))
- BoolVariableSetTrue { variable: RandomAccessBool(EnableJabEnd) }
- if (ButtonPress value(2))
- BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }
- IfStatementAnd ((InternalConstantInt (0x520a) LessThan InternalConstantInt (0x59fb)))
- BoolVariableSetTrue { variable: RandomAccessBool (0x1a) }